#ifdef USETTS
// Oliver Shyal Beardsley
// 15/10/2011

//! TextToSpeech class declaration

#ifndef _TEXTTOSPEECH_H_
#define _TEXTTOSPEECH_H_

#include <QString>
#include <QWidget>
#include <QUuid>
#include "DownloadManager.h"

class FormPost;

class TextToSpeech
{
	public:

		TextToSpeech(QObject*);
		virtual									~TextToSpeech();

		enum Language
		{
			eHindi,
			eEnglish,
			eLast
		};

		bool 									speak(QString, Language lang, QUuid, QString filename, bool play);

		QVector<QString> 						m_languageStrings;

	private:
		DownloadManager* 						m_downloadManager;
};

#endif
#endif
